package org.jeecg.modules.user.member.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class TripRes {

    @ApiModelProperty(value = "订单编号id")
    private String id;

    @ApiModelProperty(value = "订单编号")
    private String code;

    @ApiModelProperty(value = "车辆编号")
    private String vehicleCode;

    @ApiModelProperty(value = "借网点点")
    private String borrowStationName;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "借车时间")
    private java.util.Date pickTime;

    @ApiModelProperty(value = "还网点点")
    private String stillStationName;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "还车时间")
    private java.util.Date parkTime;

    @ApiModelProperty(value = "应支付费用")
    private java.math.BigDecimal payActual;

    @ApiModelProperty(value = "用车时长(分钟)")
    private String useLong;

    @ApiModelProperty(value = "支付类型(1钱包支付2支付宝支付3组合支付4免单)")
    private java.lang.String spendType;

    @ApiModelProperty(value = "借网点点经度")
    private String longitude1;

    @ApiModelProperty(value = "借网点点纬度")
    private String latitude1;

    @ApiModelProperty(value = "还网点点经度")
    private String longitude2;

    @ApiModelProperty(value = "还网点点纬度")
    private String latitude2;

    @ApiModelProperty(value = "距离")
    private double distance;
}
